package varton.shallow;

import java.util.ArrayList;

public class AirConditionShell implements Cloneable{
    private String shape;
    private ArrayList<String> colors;

    public String getShape() {
        return shape;
    }

    public void setShape(String shape) {
        this.shape = shape;
    }

    public ArrayList<String> getColors() {
        return colors;
    }

    public void setColors(ArrayList<String> colors) {
        this.colors = colors;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        ArrayList<String> list= (ArrayList<String>) this.colors.clone();
        AirConditionShell ac = (AirConditionShell) super.clone();
        ac.setColors(list);
        return ac;
    }
}
